Enables or disables playback diagnostic information logging to help with troubleshooting if QA Wizard Pro cannot identify a control. Diagnostics provide insight into how controls are identified by displaying window and control property values.
Information is logged in a temporary file in the Temp\QA Wizard Pro Playback directory.
Note: Logging playback diagnostic information slows playback. Only use this statement when troubleshooting scripts.
Syntax
SetDiagnostics(True/False)
Arguments
| Argument | Description |
|---|---|
| True/False | True enables diagnostic logging and False disables it. |
Example
SetDiagnostics(True)
Script.SetContext("WysiCorp Login/1.0")
Script.RunApp()